package test;

public class BusinessResult {

	private boolean success;// 操作是否成功true|false
	private String message;// 操作返回的消息

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public BusinessResult() {
		super();
	}

	public BusinessResult(boolean success, String message) {
		super();
		this.success = success;
		this.message = message;
	}

	@Override
	public String toString() {
		return "BusinessResult [success=" + success + ", message=" + message + "]";
	}

}
